﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace BattleCity.GUI
{
    class FinishGameScreen : Screen
    {
        Texture2D background;

        public FinishGameScreen(Game game, Texture2D back)
            : base(game)
        {
            _sprBatch = (SpriteBatch)Game.Services.GetService(typeof(SpriteBatch));
            background = back;
        }
        public override void Draw(GameTime gameTime)
        {
            _sprBatch.Draw(background, new Vector2(0f, 0f), null, Color.White, 0f, new Vector2(0f, 0f), 1f, SpriteEffects.None, 0.2f);
            base.Draw(gameTime);
        }
    }
}